Skip to main content

errorMode

Type

property

Summary

Sets the engine action when an error is encountered.

Syntax

set the errorMode to <mode>

Description

Determines the action the engine takes when an error occurs and a custom scriptExecutionError handler has not been provided.

The errorMode property allows you to specify where to log or how to handle error messages that are not handled by a custom scriptExecutionError handler

Parameters

NameTypeDescription

mode

enum

Specifies the action to take when an error occurs. The mode types are:

Examples

set the errorMode to "debugger"
set the errorMode to "inline"

keyword: stderr, stdout

message: scriptExecutionError

Compatibility and Support

Introduced

LiveCode 4.6.3

OS

mac

windows

linux

Platforms

server

Thank you for your feedback!

Was this page helpful?